package com.gupt.reggie.dto;

import com.gupt.reggie.entity.Dish;
import com.gupt.reggie.entity.DishFlavor;
import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class DishDto extends Dish {   //data transfer object  数据传输对象  拥有Dish  DishFlavor

    private List<DishFlavor> flavors = new ArrayList<>();  //菜品口味信息

    private String categoryName;    //与dish类的categoryId结合使用

    private Integer copies;
}
